export default [
  {
    path: "/",
    name: "Home",
    component: () => import("../views/Home.vue")
  },
  {
    path: "/login",
    name: "Login",
    component: () => import("../views/Login.vue")
  },
  {
    path: "/logon",
    name: "Logon",
    component: () => import("../views/Logon.vue")
  },
  {
    path: "/list/:id",
    name: "List",
    component: () => import("../views/List.vue")
  },
  {
    path: "/article/:id",
    name: "Article",
    component: () => import("../views/Article.vue")
  },
  {
    path: "/user",
    name: "Useer",
    component: () => import("../views/User.vue"),
    redirect: "/user/editor",
    children: [
      {
        path: "editor",
        name: "Editor",
        component: () => import("../views/user/Editor.vue")
      }
    ]
  }
];
